package com.haojiu.mapper;

import com.haojiu.pojo.Book;
import com.haojiu.pojo.User;

import java.util.List;

/**
 * @author:我叫浩九
 * @date：2021/8/25 9:06
 * create in RuGao JiangSu
 */
public interface UserMapper {
    int addUser(User user);
    User queryUserByName(String username);
    //根据name删除一个User
    int deleteUserByName(String username);
    int updateUser(User user);
    List<User> queryAllUser();
    List<User> getAllManager(String userType);
}
